<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Level')}:</label>
        <div class="col-xs-12 col-sm-8">
           <select id="c-level" data-rule="required" class="form-control selectpicker" name="row[level]">
                {foreach name="LevelsList" item="vo"}
                <option value="{$key}" {in name="key" value="$row.level"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mqdcss')}:</label>
        <div class="col-xs-12 col-sm-8">
           <select id="c-mqdcss" data-rule="required" class="form-control selectpicker" name="row[mqdcss]">
                {foreach name="MystyleList" item="vo"}
                <option value="{$key}" {in name="key" value="$row.mqdcss"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>
        </div>
    </div>
 
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Username')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-username" data-rule="required" class="form-control" name="row[username]" type="text" value="{$row.username|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Nickname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-nickname" data-rule="required" class="form-control" name="row[nickname]" type="text" value="{$row.nickname|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Password')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="password" placeholder="密码为空时，不修改密码" data-rule="password"  autocomplete="new-password" class="form-control" name="row[password]" type="text" value="">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Phone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-phone" class="form-control" name="row[phone]" type="text" value="{$row.phone|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sh_title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sh_title" class="form-control" name="row[sh_title]" type="text" value="{$row.sh_title|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Logo')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-logo" class="form-control" size="50" name="row[logo]" type="text" value="{$row.logo|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-logo" class="btn btn-danger faupload" data-input-id="c-logo" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-logo"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-logo" class="btn btn-primary fachoose" data-input-id="c-logo" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-logo"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-logo"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gy_lat')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-gy_lat" class="form-control" name="row[gy_lat]" type="text" value="{$row.gy_lat|htmlentities}">
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Slogan')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-slogan" class="form-control editor" rows="5" name="row[slogan]" cols="50">{$row.slogan|htmlentities}</textarea>
        </div>
    </div>
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ewmimg')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-ewmimg" class="form-control" size="50" name="row[ewmimg]" type="text" value="{$row.ewmimg|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-ewmimg" class="btn btn-danger faupload" data-input-id="c-ewmimg" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-ewmimg"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-ewmimg" class="btn btn-primary fachoose" data-input-id="c-ewmimg" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-ewmimg"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-ewmimg"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mp_img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-mp_img" class="form-control" size="50" name="row[mp_img]" type="text" value="{$row.mp_img|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-mp_img" class="btn btn-danger faupload" data-input-id="c-mp_img" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-mp_img"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-mp_img" class="btn btn-primary fachoose" data-input-id="c-mp_img" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-mp_img"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-mp_img"></ul>
        </div>
    </div>

 
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dq_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dq_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[dq_time]" type="text" value="{$row.dq_time}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gy_dizhi')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-gy_dizhi" class="form-control" name="row[gy_dizhi]" type="text" value="{$row.gy_dizhi|htmlentities}">
        </div>
    </div>

    <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Statusb')}:</label>
        <div class="col-xs-12 col-sm-8">
   
       
            <input id="c-statusb" name="row[statusb]" type="hidden" value="{$row.statusb|htmlentities}">
            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-statusb" data-yes="1" data-no="2">
                <i class="fa fa-toggle-on text-success {eq name='$row.statusb' value='2'}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
            </a>

        </div>
    </div> -->

       
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
           
            <input id="c-status" name="row[status]" type="hidden" value="{$row.status|htmlentities}">
            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-status" data-yes="normal" data-no="hidden">
                <i class="fa fa-toggle-on text-success {eq name='$row.status' value='hidden'}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
            </a>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sc_status')}:</label>
        <div class="col-xs-12 col-sm-8">

            <input id="c-sc_status" name="row[sc_status]" type="hidden" value="{$row.sc_status|htmlentities}">
            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-sc_status" data-yes="1" data-no="2">
                <i class="fa fa-toggle-on text-success {eq name='$row.sc_status' value='2'}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
            </a>

        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Statusp')}:</label>
        <div class="col-xs-12 col-sm-8">
           <input id="c-statusp" name="row[statusp]" type="hidden" value="{$row.statusp|htmlentities}">
            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-statusp" data-yes="1" data-no="2">
                <i class="fa fa-toggle-on text-success {eq name='$row.statusp' value='2'}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
            </a>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Statukg')}:</label>
        <div class="col-xs-12 col-sm-8">
          <input id="c-statukg" name="row[statukg]" type="hidden" value="{$row.statukg|htmlentities}">
            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-statukg" data-yes="1" data-no="2">
                <i class="fa fa-toggle-on text-success {eq name='$row.statukg' value='2'}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
            </a>
</div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" data-rule="required" class="form-control" name="row[weigh]" type="number" value="{$row.weigh|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
